<template>
  <n-message-provider>
    <MainPage />
    <div id="app">
      <router-link :to="{ name: 'home' }">首页</router-link>
      <router-link :to="{ name: 'user_account_login' }">登陆</router-link>
      <router-link :to="{ name: 'main' }">主页</router-link>
      <router-link :to="{ name: 'register' }">注册</router-link>

    </div>
  </n-message-provider>

</template>

<script>
import { defineComponent } from 'vue'
import { NButton, NMessageProvider } from 'naive-ui'
import MainPage from './components/MainPage.vue';
import InfoPage from './components/InfoPage.vue';
export default {
  components: {
    NButton,
    InfoPage,
  },
  data() {
    return {
      cnt: 0
    }
  },
  methods: {
    inc() {
      this.cnt++;
    }
  }
}
</script>
